Consolidate RewriteRule definitions to a single string