[BZ-995140] avoid rule firing when LHS is false and using sliding windows