A rule here is a selector and a list of property/value pairs

parse_rule(stream)

Arguments

stream

stream

Value

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