#NEWLINE# def _remove_rule_from_chain_v4v6( self , chain_name , ipv4_rules , ipv6_rules ) : #NEWLINE# #INDENT# for rule in ipv4_rules : #NEWLINE# #INDENT# self . iptables . ipv4 [ 'filter' ] . remove_rule ( chain_name , rule ) #NEWLINE# #UNINDENT# for rule in self : #NEWLINE# #INDENT# self . iptables . ipv6 [ 'filter' ] . remove_rule ( chain_name , rule )