The `CSSMediaRule::serialized()` code is to spec. The `CSSSupportsRule::serialized()` code has no spec right now, but I'm fairly confident it will be almost identical to media's, so I copied that for now.
This is the class corresponding to a `@media` rule. It contains a list of media queries and a list of child css rules.