code: def store_rule(self, rule_id, rule):
          
          if rule_id not in self.rules:
              self.rules[rule_id] = rule
              self.rule_cnt += 1
docs: Store the rules.
  
          Policy is maintained as a dictionary of Rule ID.