Shift from feudalism to rule by laws and legal precedent