#NEWLINE# def add( self , rules ) : #NEWLINE# #INDENT# '\n    Add a set of aggregate rules.\n    ' #NEWLINE# for ( target , source ) in rules : #NEWLINE# #INDENT# self . _rules . append ( Aggregate ( source , target ) )