When creating a rule, if a directory is selected, the resulting rule should end with a forward slash (/).
If a file is selected, the resulting rule should end with the last character in the filename.
Bug?
Rules created for directories do not end with a forward slash, so they are effectively ignored.