Adds the ability to add custom validation rules and override core rules.