Correct adding css stylesheet rules for Mozilla Firefox.
Fix issue memory leak in IE-8 (remove css rules more then 4096 rules in local stylesheet).