public ItemRule newPropertyItemRule ( String propertyName ) { ItemRule itemRule = new ItemRule ( ) ; itemRule . setName ( propertyName ) ; addPropertyItemRule ( itemRule ) ; return itemRule ; }
Adds a new property rule with the specified name and returns it .