Combine rules and qualifications into single specification pattern