moves rewrite_rules to location_header

so it can be used by all location-types
Merge pull request #526 from asgoodasnu/rewrites_in_fastcgi

moves rewrite_rules to location_header