Fix invalid regular expression

This was causing the rule validation to fail.