This rule template can be used to enforce a naming convention on all types that inherit directly from a specific base type.
Please note that this only supports direct inheritance and does not traverse the inheritance tree.