BZ-1056950 - Guided rule editor: Bound variables are broken when using Strings and OR/AND on the top most level
(cherry picked from commit 4a9c483ea3e0821f882470724645fd44e1da12a9)