Added equal rule to validation