Sorry, I guess I've made a syntax error. Unfortunately I have no way to test the syntax.
I believe "route-to" should solve your problem though.
Added:
I guess the error is generated because there is no direction given in the rules. Please, try modifying the last two rules like this
pass out...