Federal rules set for snacks in schools