If you select a directory, its name appears here. If you select a command, the name of the directory containing that command appears here. Click add to move the entire directory of commands to the Commands Denied column of the right that is open.
Then, return to the Commands tab and add individual commands, or the entire directory, to the Commands Permitted column.