Over the last few weeks , the rebels and the Ugandan government declared a temporary cease-fire and held talks through mediators .