As before, this requires deviating from the spec slightly to create the StyleRule fully-formed instead of creating it empty and then modifying its internals.
`append_with_to_string()` is no longer needed now that ComponentValue has a Formatter.