BZ1134067: Guided Rule Editor Corrupt Source for Modify of Bound Variable

(cherry picked from commit 6241da90dffb21ee49dafabd687db876f89d367b)