improve rule path search
small optimization
Merge pull request #79 from williampma/r2l_fix

Fixes R2L exclusion failure