getRules() will throw a fatal error if the rules propery is undeclared.