Generating Grid Resource Requirement Specifications