Bean validation rules revised