BZ1060816 - null pointer exception when re-open the guided rule
(cherry picked from commit 17b09b7667f68872c4f09ab1f55358238251662c)