Completely replace css rules instead of dynamically updating them, to make cssText reflect the change