Don't throw exception if $rules is an empty array