def get_firewall_rules(self, server):
server_uuid, server_instance = uuid_and_instance(server)<EOL>url = '<STR_LIT>'.format(server_uuid)<EOL>res = self.get_request(url)<EOL>return [<EOL>FirewallRule(server=server_instance, **firewall_rule)<EOL>for firewall_rule in res['<STR_LIT>']['<STR_LIT>']<EOL>]<EOL>
Return all FirewallRule objects based on a server instance or uuid.