Depending on which country you talk about it's either the Civil law, as in many European countries, where there are pre-written rules or common law where the decisions are made while judging cases - so UK and it's former colonies.
Either 9 or 5 sorry if I’m wrong