Rule actions are treated as regexps

Backwards incompatible change: regexp now adds beginning and end of line
limits.

[fixes #106]