By offering this sacrifice, performing this task, participating in this service, consuming this meal, etc., a person is made right with God. The most prominent example of a ritual-based religion is Roman Catholicism. Roman Catholicism holds that by being water baptized as an infant, by partaking in the Mass, by confessing sin to a priest, by offering prayers to saints in Heaven, by being anointed by a priest before death, etc., etc., God will accept such a person into Heaven after death. Buddhism and Hinduism are also primarily ritual-based religions, but can also to a lesser degree be considered rules-based.
Kwa kutoa kafara hizi, kutenda jukumu hili, kushiriki katika ibada, kula chakula hiki na mengine, mtu amefanyika kuwa vizuri na Mungu. Mfano mkuu wa dini ambayo ni ya kanuni ni kanisa la Kikatholiki. Kanisa la Kikatholiki laamini kuwa kwa kubatizwa kwa maji ukiwa mtoto, kwa kushiriki katika misa, kwa kukiri dhambi zako kwa kuani, kwa kuomba kwa watakatifu mbinguni, kwa kupakwa mafuta na kuani kabla ya kifo na mengine, Mungu atakubalia mtu kama huyo kuingia mbinguni baada ya kifo. Ubudha na Uhindu pia ni dini za kanuni, lakini kwa kiwango kidogo zinaweza kuchukuliwa kuwa za sharia.