Building a Legal Expert System