# Syntax on Merging Similar Rules

**URL:** <https://community.openhab.org/t/syntax-on-merging-similar-rules/39129>\
**Category:** Scripts & Rules\
**Created:** [January 22, 2018, 10:13pm UTC](https://community.openhab.org/t/syntax-on-merging-similar-rules/39129 "2018-01-22T22:13:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![luckymallari](https://community.openhab.org/user_avatar/community.openhab.org/luckymallari/32/15259_2.png) [@luckymallari](https://community.openhab.org/u/luckymallari)\
**Post date:** [January 22, 2018, 10:30pm UTC](https://community.openhab.org/t/syntax-on-merging-similar-rules/39129/2 "2018-01-22T22:30:26Z")

</div>

If they are in a group, I would create a rule based on the group change. Using persistence, you can determine which item caused that change. An example here: [Which Item updated my Group Item?](https://community.openhab.org/t/which-item-updated-my-group-item/25273)

---

_[View the full topic](https://community.openhab.org/t/syntax-on-merging-similar-rules/39129)._
