class Dry::Logic::Rule::Each

def apply(input)

def apply(input)
  Hash[input.map.with_index { |element, index| [index, predicate.(element)] }]
end

def type

def type
  :each
end