# Migrating my rules to Jython

**URL:** <https://community.openhab.org/t/migrating-my-rules-to-jython/87761>\
**Category:** Scripts & Rules\
**Tags:** jsr223, jython\
**Created:** [December 16, 2019, 4:09pm UTC](https://community.openhab.org/t/migrating-my-rules-to-jython/87761 "2019-12-16T16:09:14Z")\
**Posts on this page:** 1\
**Showing post:** 87

<div class="post-metadata">

**Author:** ![5iver](https://community.openhab.org/user_avatar/community.openhab.org/5iver/32/21201_2.png) [@5iver](https://community.openhab.org/u/5iver)\
**Post date:** [May 27, 2020, 4:54pm UTC](https://community.openhab.org/t/migrating-my-rules-to-jython/87761/87 "2020-05-27T16:54:51Z")

</div>

I recently explained this behavior here…

> [@How to write rules in OpenHab (native rules vs scripted automation)](https://community.openhab.org/t/how-to-write-rules-in-openhab-native-rules-vs-scripted-automation/99577/8):
>
> Your mixing a couple things up, @JimT… In the old rule engine, ‘System started’ triggers will fire whenever Items or Things are added or removed. The "Member of’ trigger is something I made in the Jython helper libraries to simulates what you see in the rule DSL by adding Triggers for each of the group members. I have not added functionality to update the rule’s Triggers when the group membership changes, since this needed to be done properly and built into a ModuleType for the new rule engine…

And yes… please start a new topic. This one is already filled up with a lot of information and it is hard to search through it all.

---

_[View the full topic](https://community.openhab.org/t/migrating-my-rules-to-jython/87761)._
