Added option for regex / email rules to be nil and still match