#2269575 - PathHasAlias condition implementation. 

Another take at implementing the PathHasAlias condition. Previously opened as https://github.com/fago/rules/pull/7.