Check existence of the "regex" parameter for a rule