Surface addCSSRules function

It would probably help if I actually surfaced the function.
@alex-deaconu @stulees Please review. Thx.