Starting to implement precondition queries for validation rules