Sudan, rebel group sign deal on secularism