Created Criteria validation strategy and Criteria Factory to instance the strategy