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