fixed rewrites for neos
Merge pull request #92 from zelgerj/master

fixed rewrites for neos