Added the ability to register class-level rules with ClassValidationRules.
Rev'ing buildsupport