added spec for AndCondition
implemented basic AndCondition matching
extracted ConditionBuilder from condition.rb