Migrate from Nashorn to JSScripting for UI Rules

All you define in a UI rule Script Action is the execute part. Everything else is defined in the form. You only use JSRule or the time Builder in .js files.

I have posted all of my complete JSScripting rules at Some JS Scripting UI Rules Examples. Since are simple, some are complex. Skip to the actual rules which come after the libraries.