def MatchesRoutingRules(rules):
 return AfterPreprocessing(RoutingRules.to_xml, Equals(RoutingRules(rules).to_xml()))

def MatchesRoutingRules ( rules ) : return AfterPreprocessing ( RoutingRules . to_xml , Equals ( RoutingRules ( rules ) . to_xml ( ) ) )
matches against routing rules .