Well, to answer your question, humans will come up with these laws (through legislative action or sth, IANAL). An expert system wouldn't need to record its previous decisions since it can come up with them when needed. In this sense it can be more adaptible than common law courts.