Do you need to memorise all traffic rules for the theory test?
For the theory test it is important to understand traffic rules and how they apply in different traffic situations.
Knowing the rules is useful, but simply memorising them is usually not enough. Many questions in the theory test present traffic situations where you must decide what the correct action is.
By learning the theory step by step and practising with questions and mock exams, you learn both the rules and how to apply them.