Legal action planned against new family visa rules