Replace "checkRules" with "getRules" in getRules()