Rename addClassRules, its a static method