Egypt set for total rewrite of constitution