According to the Torah, the public should have a key part in determining the character of the local judges and rabbis