@fw_handler_decorator<EOL><INDENT>def _fw_rule_delete(self, drvr_name, data):<DEDENT>
rule_id = data.get('<STR_LIT>')<EOL>tenant_id = self.tenant_db.get_rule_tenant(rule_id)<EOL>if tenant_id not in self.fwid_attr:<EOL><INDENT>LOG.error("<STR_LIT>", tenant_id)<EOL>return<EOL><DEDENT>tenant_obj = self.fwid_attr[tenant_id]<EOL>tenant_obj.delete_rule(rule_id)<EOL>self.tenant_db.del_rule_tenant(rule_id)<EOL>
Function that updates its local cache after a rule is deleted.