<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_securitygroup_rules(self, group_id, rules):
 """Remove rules from a security group. :param int group_id: The ID of the security group :param list rules: The list of IDs to remove """

        return self.security_group.removeRules(rules, id=group_id)