Hmmm, strange. I don’t really have Gradle set up on my computer at the moment so I can’t import or try your project, but it looks like you are (correctly) attempting to to use inbound/outbound rewriting to set up forwarding and substitution. This can be simplified, but it doesn’t explain why the rules aren’t triggering.
first of all: Thanks for attending my talk. It’s nice to hear that you are interested in Rewrite and would like to give it a try. 🙂
I just had a quick look at your app. It looks like you are using plain <a> links in your HTML file that you would like to rewrite. Unfortunately this won’t work. In this case that link won’t be processed by HttpServletResponse.encodeUrl() and therefore rewriting won’t work. Rewrite uses this method as a central place to integrate the outbound rewriting into application. All of the JSF tags will use this method for encoding. So try using h:link instead like shown in my slides. This should work fine.
BTW: You will find my slides here if you would like to have a look: