build

Builds and returns the final set of validation rules.

This method finalizes the rule building process and returns an immutable set of all the validation rules that have been added to this builder.

Return

An immutable set containing all the validation rules.