Creating static validation rules using fluent syntax