Fixed issue #67 (redirect rules)