Fix compilation issue; don't exit when rule dialog closes