def convert_fwdb_event_msg(self, rule, tenant_id, rule_id, policy_id):
rule.update({'<STR_LIT>': tenant_id, '<STR_LIT:id>': rule_id,<EOL>'<STR_LIT>': policy_id})<EOL>fw_rule_data = {'<STR_LIT>': rule}<EOL>return fw_rule_data<EOL>
Convert the Firewall DB to a event message format.

        From inputs from DB, this will create a FW rule dictionary that
        resembles the actual data from Openstack when a rule is created.
        This is usually called after restart, in order to populate local
        cache.