added validation rule for "uses-patterns"