The new rule engine has been available for several years and can be installed through Paper UI in OH2. Here is an easy way to install Jython and the helper libraries…
If you have OH2, then you have Things. Your Items are linked to Channels inside of the Things.
If you are interested in moving forward with Jython, let me know and I will help out! If not, everything I did in my example can be done in the rules DSL… just not as easily.