The CSSStyleSheet method deleteRule() removes a rule from the stylesheet object.
deleteRule()
MDN Reference