A federal judge has ruled that e-cigarette companies must apply to the Food and Drug Administration for a public health review within 10 months.