Added missing rewrite rules for open search, fixes #657