#NEWLINE# def __init__( self , * rules ) : #NEWLINE# #INDENT# 'Create a `RuleSet` for a number of rules\n\n        Parameters\n        ----------\n        rules\n            One or more instances of RewriteRule\n        ' #NEWLINE# self . _net = Node ( ) #NEWLINE# self . rules = [ ] #NEWLINE# for p in rules : #NEWLINE# #INDENT# self . add ( p )