finished adding duration to repeat rule