Ah. That’s it then. At the moment the rules are only compatible with Nashorn.
The rules sound like they’re installed properly, so you can try Rich’s Nashorn → JSscripting conversion: