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