Fixed #155 by storing RewriteEvent and EvaluationContext in a request attribute