Added the possibility to get the validations rules that failed.