Fix error when using shortest configuration

The rule expression should be passed to `build_rule` as third argument, not second.

    TypeError: Cannot call method 'match' of undefined