code: public void addAttributeItemRule(ItemRule itemRule) {
          if (attributeItemRuleMap == null) {
              attributeItemRuleMap = new ItemRuleMap();
          }
          attributeItemRuleMap.putItemRule(itemRule);
      }
docs: Adds the attribute item rule.
  
  @param itemRule the attribute item rule