Feature/grails 2.2.x upgrade

It also includes a minor change to use a temp rules.groovy file that is platform independent (eg: windows, linux, ...)