Allow prioritiziation by matching against path

This is obviously not perfect, but it's a good start that gives us a foundation
to build on for more prioritiziation options in the future.  Let me know if
anything is missing or not up to par.



Props for the test cases! :+1: