A 'rule' is a 'selector' + a list of property/value pairs.

parse_rules_from_stream(stream)

Arguments

stream

token stream

Value

name list of list(rule_name = list(property = value, ...))