Using rule.style instead of rule.cssText