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