I had a few problems with this. Managed to figure it out
<outbound-rule match-type="wildcard"> <from>/page/activity/details.faces?activityId=*</from> <to>/activity/$1</to> </outbound-rule>
You'll probably want to substitute the .faces for .seam instead.
thank you for your reply :) but my problem ist that i don't know how to handle s:links and form submits. how do i rewrite these urls? i have already an outbound rule but it is'nt applied...
Outbound rules should be applied to any link JSF builds (urlrewrite hooks into the Servlet encoding engine). I've never done this personally though.