Disabled class definition checks inside rulecheck.py
Made SafeMode follow coding guidelines