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