A Logical Understanding of Legal Interpretation