bugfix: removed calls to deleted getCSSRule() method. moved CSS rules in...

...to stylesheet.