Revert "APF-1341: Upgrade to UrlRewriteFilter 4"

This reverts commit 0a7c00943e131d4aee627fb916a6a5f51d36fddf.