Add regex rule

Add a new rule where you can specify any valid regular expression that the value must conform to.