Add function to add CSS rule into document

Enable adding multiple CSS rules at once

Switch to an array for addCSSRules parameter