Allocation Of The Implementation Of Tasks Of The Emergency Services