parentRule

The parentRule property of the CSSRule interface returns the containing rule of the current rule if this exists, or otherwise returns null.

MDN Reference