Currently, StyleRuleGroup is modeled exactly like CSSGroupingRule (being an intermediate class in the Rule <-> StyleRule hierarchy). https://w3c.github.io/csswg-drafts/cssom/#the-cssgroupingrule-interface We should favor composition instead of inheritance in general, and this is also a prerequisite of the CSS Nesting CSSOM implementation.
<rdar://problem/107103847>
Pull request: https://github.com/WebKit/WebKit/pull/11835