Cigarette manufacturers will also have to educate smokers not to throw away butts in public.