Added rules for wait and retry times.