Specifying Validation Rules Using Metadata