Optimize CSS Export: extract similar rules into combining CSS block

Tests are pending… Comments are welcome.
It’s my own convention. It’s useful for nested loops when you have `ii` and `jj`, etc. Also I am sure it’s not collided with anything in difference to `len` or `end`.