Added valid_hour rule.