How to create a new tool quality?

I’m thinking of creating a WEDGE 2 quality for metalworking chisels. Where are tool qualities defined, and how do I add the new quality?