private RenderingRuleProperty registerRuleInternal(RenderingRuleProperty p) {
   if (get(p.getAttrName()) == null) {
     properties.put(p.getAttrName(), p);
     p.setId(rules.size());
     rules.add(p);
   }
   return get(p.getAttrName());
 }