Expert systems and the law