Samuel explained the rights and duties of the king. He wrote the rules in a book and put the book before the Lord. Then he told the people to go to their homes.