Magna Carta has been taken as foundational to the rule of law, chiefly because in it King John promised that he would stop throwing people into dungeons whenever he wished, a provision that lies behind what is now known as due process of law and is understood not as a promise made by a king but as a right possessed by the people.
The rule of history is as old as the rule of law. Magna Carta has been sealed and nullified, revised and flouted, elevated and venerated. The past has a hold: writing is the casting of a line over the edge of time. But there are no certainties in history. There are only struggles for justice, and wars interrupted by peace.