sendCommand and itemName from variable

It is not really clear to me where you want to go with it, but if you want a way to make a more generic rule, you might be interested to read up on how to trigger behaviors over rules using groups:

1 Like