importance of legal system