Fixed cookie-based rewrite rule