Changed mod_rewrite emulation logic

This allows to add query vars to css files to avoid caching.

Could this potentially lead to other problems?