Bug 1009385 - Invalid Guided Rule reopens with a different definition

(cherry picked from commit 0e82448efee2347268ccf5ab13c8b33164c70cdc)