internal void ShowRules() { if (!ServiceGateway.IsStarted) { _FormMain.ShowMessageBox("Sorry but you can't view rules while service is stopped."); } else { CloseAll(); _FormMain.SelectedPage = FormMainPage.Rules; ((RulesetGrid)_FormMain.DisplayedControl).RuleSet = ServiceGateway.ServiceInterface.GetRuleset(); } }