module TestWrangler
  class Cohort
    module Matchers
      class BaseMatcher
        attr_reader :rules
        
        def initialize(*rules)
          @rules = rules.flatten
        end

        def self.deserialize(array)
          array
        end

      end
    end
  end
end

Add serialization and deserialization for cohorts
Add serialization and deserialization for cohorts

Make all matchers inherit from base matcher. Implement serializer for Cohort. Implement basic serializer
for base matcher class. Implement specific serializer for user agent matcher class. Spec out new functionality
