Validate a data object against some predefined rules