Rewriter based rls, test 1
Do it in the rewriter, better, almost working