class Dry::Logic::Rule::Composite

def to_ary

def to_ary
  [type, [left.to_ary, right.to_ary]]
end