Made "register_rules" static