public Rule(bool visible, ItopVector.Enums.UnitType type) { this.isVisible = visible; this.unitType = type; }