fix inverse rule to only mean negative regexp matching except for whole rule (refs #631)