Legislação e a Segurança Jurídica