add time rule