Add time validation on rule addition. Add form input validation