<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def list_securitygroup_rules(self, group_id):
 """List security group rules associated with a security group. :param int group_id: The security group to list rules for """

        return self.security_group.getRules(id=group_id, iter=True)