BZ1105043 - Guided rule editor cannot handle 'str' as a substring of fact pattern
(cherry picked from commit b1a358c9148fb338e2f3bf0add864a1218e94301)
[BZ-1105043] fix operators recognition inside an expression
(cherry picked from commit 4073a9603b8f774f1e72cff3fd3c74e161e8e30b)