private void done_Click(object sender, RoutedEventArgs e)
        {
			ldp.SaveRules(ldp.StoredRules,"leaguerules.xml");
            MainMenu mm = new MainMenu();
            this.NavigationService.Navigate(mm);
        }
 private void cancel_Click(object sender, RoutedEventArgs e)
 {
     MainMenu mm = new MainMenu();
     this.NavigationService.Navigate(mm);
 }