Deuteronomy (Greek for "the Second Law") is the fifth book of the Bible and is part of the Old Testament. It is also the fifth and final book in the Torah, the theological mainstay of much of modern Judaism. It reiterates much of the narrative and rules discussed in Exodus, Leviticus, and Numbers as well as chronicling Moses's death. Joshua is the next book in the Bible and picks up chronologically where Deuteronomy leaves off.
Deuteronomy was written by Moses, except for the very end, which chronicles Moses's death and the events immediately thereafter. The authorship of this portion of the book is unknown. According to Joshua 24:25-26 Joshua himself made statutes and ordinances for the people and wrote those words in the book of the law, and he also knew Moses personally, so he is most likely the original author of Deuteronomy 25, in particular, verses 9-12.
Rules not reiterated