private void button2_Click(object sender, EventArgs e)
        {
            TradeRule rule = new TradeRule("my first rule");

            rulesPreconditions.AddRule(rule);
        }
 public void AddRule(TradeRule rule, bool Active = true)
 {
     gridRules.Rows.Add(Active, rule.Name);
 }