public Rule1View()
        {
            InitializeComponent();
            var rule1vm = new Rule1ViewModel();

            DataContext = rule1vm;
        }
 public Rule1View()
 {
     InitializeComponent();
     var rule1vm = new Rule1ViewModel();
     DataContext = rule1vm;
 }