public Rule(RulesPresenter i_dad,DataTier.Rules i_data)
 {
     Data = i_data;
     Dad = i_dad;
 }
 public RulesTab()
 {
     InitializeComponent();
     Presenter = (App.Current as App).RulesPresenter;
     DataContext = Presenter;
 }