Seven environmental groups filed a lawsuit on Thursday challenging safety rules issued earlier this month for trains carrying oil, arguing the regulations are too weak to protect the public.