added getRules & setRules to validator doc