Does it work if you don't use @In?
Nope, same result.
Hmm ok found part of the solution.
I still can't get the url rewriting to work, but I realized I had a handle.page.xml in the same directory. removed it and i can at least pass the parameter in. still need to get the rewrite working.