Give RuleGroups a parent property, in calculating the style, recur in
the correct order