increase the speed of finding rules for 35%

`:~/petrovich-ruby$ time rake`

Before:
```
real    0m32.682s
user    0m32.374s
sys     0m0.280s
```
After:

```
real    0m19.807s
user    0m19.661s
sys     0m0.124s
```