Click Add in middle panel Mappings.
Enter adequate name
Now drag & drop the values related to Open Sales Stage.
Press Ctrl-Key to select multiple values and drag them at once.
Define a mapping for Won and a mapping for Lost.
To rename a mapping double click on the tree label and overwrite.
Your grouping now looks like
Definition is saved automatically after each action.