Hegal on legal philosophy and legal history