(self, host):   # Add the rule   result = host.run(    'stack add host firewall frontend-0-0 service=0000 chain=INPUT '    'action=ACCEPT protocol=TCP rulename=test'   )   assert result.rc == 0    # Make sure it is in the DB now   result = host.run('stack list host firewall frontend-0-0 output-format=json')   assert result.rc == 0    rule = jmespath.search("[?name=='test']", json.loads(result.stdout))   assert rule == [{    'host': 'frontend-0-0',    'name': 'test',    'table': 'filter',    'service': '0000',    'protocol': 'TCP',    'chain': 'INPUT',    'action': 'ACCEPT',    'network': None,    'output-network': None,    'flags': None,    'comment': None,    'source': 'H',    'type': 'var'   }]   def test_