validation rules to collection-based structures - better reimplemented 1.0.25