Update the `Criteria` class to use '->' instead of 'Proc.new'