Use rules instead of cssRules for IE8 and below