/// <summary>
        /// Add sanitation for a property.
        /// </summary>
        /// <param name="sanitizer">The sanitation logic</param>
        /// <returns>This <c>RuleBuilder</c> instance to configure additional sanitizers</returns>
        public RuleBuilder <T, TProperty> SetSanitizer(Func <T, TProperty> sanitizer)
        {
            _sanitizer.AddRule(_key, (s, t) => sanitizer(t) !);

            return(this);
        }