Consulting firm ‘drafted the rules of the game’ for the revenue service.