rename options to rules, use object instead of array rules, comments