BZ1038044: Guided rule editor validate-button shows an uncontrolled error screen if the kmodule.xml has errors
(cherry picked from commit b734b34198aef0cb24d75da15f4c75762415ddfa)