More flexible nested domain validation rules.