The federal government hasn't done enough to protect a rare species of whale from lethal entanglement in lobster fishing gear, and new rules are needed to protect the species from extinction, a judge has ruled.