def store_rule(self, rule_id, rule):
if rule_id not in self.rules:<EOL><INDENT>self.rules[rule_id] = rule<EOL>self.rule_cnt += <NUM_LIT:1><EOL><DEDENT>
Store the rules.

        Policy is maintained as a dictionary of Rule ID.