Fix cross funnel rule pollution

Also rework cake tasks and generate docs