Priority of categorizing rules

It will be helpful if users can decide the priority of categorizing rules when matching.

The current prioritization is to choose the deepest sub-category.

Adding custom priorities might become very confusing and if having too many priorities things might become almost impossible to find the behavior why something is chosen first.

Better solutions I believe is to either write more specific rules or to have categories where sub-categories also need to match the category (as requested here: Having subcategories really be subcategories (partitions) of the parent category)