As of 2.3.6.139 your main issue was fixed
Rule 5.1: Fixed check for variable changed triggers. Fixed test for triggers relative to a device.