President Obama has previously urged African leaders to fight corruption and to promote the rule of law in order to spark economic growth .