WyRL: fixed bug with SimpleRewriteStrategy #382