initPropertyRules();
}
private void initPropertyRules() {
for (Iterator i = allRules.iterator(); i.hasNext();) {
BasicValidationRule rule = (BasicValidationRule)i.next();
Set propertiesUsedByRule = getPropertiesUsedByRule(rule);
for (Iterator j = propertiesUsedByRule.iterator(); j.hasNext();) {
String propertyName = (String)j.next();
((List)propertyRules.get(propertyName)).add(rule);
}