Sharing some naming conventions is a key point to make it possible for a team to efficiently collaborate. This rule allows to check that all subtype names match a provided regular expression.
With default regular expression ^[a-z]|[a-z]+[a-z0-9_]*[a-z0-9]+$:
subtype MySubType is integer range 0 to 255;
With default regular expression ^[a-z]|[a-z]+[a-z0-9_]*[a-z0-9]+$:
subtype my_sub_type is integer range 0 to 255;