Rules are not triggered

Hello, @tyf. Thanks for the suggestions. We tried your propositions but it seems like the rule doesn`t want to trigger, console.log(…) on 2nd line prints nothing to debug console.