Legal interpretation in expert systems