code: def get_chain(self, name, table="filter"):
          
          return [r for r in self.rules if r["table"] == table and r["chain"] == name]
docs: Get the list of rules for a particular chain. Chain order is kept intact.
  
          Args:
              name (str): chain name, e.g. ``
              table (str): table name, defaults to ``filter``
  
          Returns:
              list: rules