Neighbours agree not to host rebels