Code cleanup. Update pod. Made "register_rules" static