Packaging SQL validation rules