ruleFor method
Create a container to hold rules for a property. The value of the property should be returned by the passed in Function
Implementation
RuleBuilder ruleFor(String key, Function(T e) func) {
var container = new RuleContainer<T>(func);
_rules.putIfAbsent(key, () {
return container;
});
return new RuleBuilder(key, container);
}