Fix rule 45 regex logic/compile error

The rule tries to capture `(all|distinc|[(]*)?` which is not possible,
because you cannot match at least one occurence of a zero or more match.

Simpliefied invalid vs. valid example: `([(]*)?` vs. `([(]*)`

This fixes issue #18.
Merge pull request #39 from felixbuenemann/fix-rule-45

Fix rule 45 regex logic/compile error