def update_rule_entry(self, rule_info):
if rule_info.get('<STR_LIT:status>') == '<STR_LIT>':<EOL><INDENT>self.add_rule_entry(rule_info)<EOL><DEDENT>if rule_info.get('<STR_LIT:status>') == '<STR_LIT>':<EOL><INDENT>self.remove_rule_entry(rule_info)<EOL><DEDENT>
Update the rule_info list.