/// <summary>
        /// Validation Rules will be executed if they are defined.
        /// </summary>
        /// <param name="rcvData"></param>
        /// <returns></returns>
        private bool executeValidationRules(TAdapterOutput rcvData,
                                            ICollection <ValidationRuleDescriptor> validatorRules,
                                            out ValidatorRulesResult validationResult)
        {
            validationResult = new ValidatorRulesResult();

            if (validatorRules != null)
            {
                // TODO Log.

                ValidationRulesPipeline pipeline = new ValidationRulesPipeline()
                {
                    EntityInstance = rcvData,
                    Rules          = validatorRules
                };

                validationResult = RulesManager.RunPipeline(pipeline);
            }

            if ((validationResult != null && validationResult.HasFailed == false) ||
                validationResult == null)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }