The leaders of Chad and Sudan have signed a peace accord , pledging to deny refuge to each other 's rebel groups .