<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def store_rule(self, rule_id, rule):
 """Store the rules. Policy is maintained as a dictionary of Rule ID. """

        if rule_id not in self.rules:
            self.rules[rule_id] = rule
            self.rule_cnt += 1