add condition for rewrite rules
Merge branch 'develop' of ssh://github.com/parliamentwatch/parliamentwatch into develop