<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_chain(self, name, table="filter"):
 """ 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 """

        return [r for r in self.rules if r["table"] == table and r["chain"] == name]