addRule()

This method is used to add a new rule to a style sheet. You may duplicate a rule that already exists in a stylesheet, although a new rule does not supersede a rule stated using the STYLE property.

syntax:

addRule(selector, style, [index] )

This method is used with the following:

styleSheet