add rules for classes