Port JSR223 bundle to openHAB 2

Hey can you share a code example how you set a custom UID to your rule?
Rule Class seems to have a constructor which supports adding a custom UID, but SimpleRule Class seems not.
Do you use SimpleRule? If i pass a string to it, it complains about not expecting an argument.

Thanks :slight_smile: