def fill_fw_dict_from_db(self, fw_data):
rule_dict = fw_data.get('<STR_LIT>').get('<STR_LIT>')<EOL>fw_dict = {'<STR_LIT>': fw_data.get('<STR_LIT>'),<EOL>'<STR_LIT>': fw_data.get('<STR_LIT:name>'),<EOL>'<STR_LIT>': fw_data.get('<STR_LIT>'),<EOL>'<STR_LIT>': fw_data.get('<STR_LIT>'),<EOL>'<STR_LIT>': fw_data.get('<STR_LIT>'), '<STR_LIT>': {}}<EOL>for rule in rule_dict:<EOL><INDENT>fw_dict['<STR_LIT>'][rule] = rule_dict.get(rule)<EOL><DEDENT>return fw_dict<EOL>
This routine is called to create a local fw_dict with data from DB.