code: def remove_rule_entry(self, rule_info):
          
  
          temp_list = list(self.rule_info)
          for rule in temp_list:
              if (rule.ip == rule_info.get('ip') and
                  rule.mac == rule_info.get('mac') and
                      rule.port == rule_info.get('port')):
                  LOG.debug('Removed rule info %s from the list', rule_info)
                  self.rule_info.remove(rule)
docs: Remove host data object from rule_info list.