BZ-1051059 - Guided rule editor expression editor broken on the left side of an operator
(cherry picked from commit f2cf4b9a32212ecf74f6948b00d9d3dbefb29518)
[BZ-1051059] flag a constraint as expression when its right side contains a dot
(cherry picked from commit 938cdf6e3e7e9e3e56e4897968943aadfe7e16cf)