kurki grails rewrite