Written laws & rules can be mostly reduced to a series of yes-no questions i.e. binary language. For example: “Did he cross the red light? Yes: fine him. No: Let him go.” This approach allows computerization, with a tiny amount of human supervision for gray areas where yes-no answers may not be possible..
For delivering affordable and quick justice to the common man, judge-like discretion must be minimized. Law itself must be computerized. Judges must basically become computer operators, with almost no discretionary powers.