If there was a portion of the Bible where it seems like a book of rules it would be Leviticus. Outlined in Leviticus are many of the ceremonial rites for Israel. It is interesting to note that there is not sufficient information there to perform rituals. Leviticus is not a prayer Book. It talks about bringing sacrifices and having sacred assemblies but it does not give the order for such ceremonies. Leviticus also contains various other laws that would lead to a civil society.
We get the name for the book form the Greek Λευιτικός, Leuitikos, meaning "relating to the Levites." This is a good title as the book does cover the duties of the Levites and the Priest (who are also Levites.) In the Hebrew Bible the book is called ויקרא, Wayiqra, "And He called" from the first few words of the book: "The LORD called to Moses... (Leviticus 1.1)" Basically these are the rules that Moses received from the Lord. So what are these rules?
The book begins by defining the five main offerings (chapters 1-7). This section sets out their purpose but many of the details are left for later. You actually need some knowledge of these offerings for the next section to make sense.
Following these definitions comes the ordination, installation and work of Aaron and his sons (chapters 8-10). When the priests began their work in chapter 9 Aaron first brought sin offerings and burnt offerings for himself and then the people. He then brought the gain offering and the fellowship offering. Part of the fellowship offering is burnt on the alter the rest is divided between the priests and the people. So the people had fellowship with God; having first been cleansed.
Ritual cleanness is an important part of the law and that is the subject of chapters 11-15. Topics covered include clean and unclean food (chapter 11); Purification After Child Birth (Chapter 12); Skin Diseases and Mildew (chapters 13 and 14); and bodily discharges (chapter 15).
Maintaining ritual cleanness is important to be able to approach God. Those who are unclean are certainly not allowed to participate in worship activities and may indeed be banned from camp while they are unclean.
Passover has been established back in Exodus. The next major feast to be added to the calendar is the Day of Atonement. The context is after a tragic story in which two sons of Aaron die because they did not execute their priestly office properly. This reinforces the notion that God is God and must be approached with reverence.
Next come a variety of laws that are largely moral in nature. Some further definition of the ceremonies and filling out of the liturgical calendar.
The Bible also talks a great deal about finances and the next section is just that. It is about Land Tenure, Debt and Slavery (Chapter 25). Many today scoff at the fact that slavery is not disallowed in the Bible but that it is just regulated. The reason for this is that there are many sorts of slavery and they are hard to avoid. The employer-employee relationship can tend to slavery, although we do not like to look at it in those terms. Primarily, however, we are called to be slaves or servants, if you rather, of God. That being the case slavery could not be outlawed.
Obedience to God's commandments is a major portion of the law but so is fellowship with Him. Obedience puts in the position to have that fellowship. Living outside of God's will will cause us problems. Chapter 26 outlines the covenant blessings for obedience and curses if we forget.
Chapter 27 is something of an appendix It has to do with Offerings Vowed to the Lord. The main point is that the vow is the vow and should not be treated lightly. What ever had been vowed can be redeemed, but redemption comes at a price.