The deleteRule() method of the CSSGroupingRule interface removes a CSS rule from a list of child CSS rules.
deleteRule()
MDN Reference