Yes, after Ghaddafi saw Saddam climb out of that hole in the ground, dirty and disheveled, he did have a change of heart where terrorism and nuclear weapon programs were concerned and accede to US demands regarding those things. And as a reward, Bush normalized relations by removing Libya from the list of state sponsors of terrorism. It was hoped that would lead to further reform, but it has not. Indeed, Bush can certainly be faulted for at first declaring with fanfare on March 12, 2004 that:
but then virtually ignoring the fact that Fathi Eljahmi was within weeks rearrested and imprisoned by the Libyan government. And seeing little reaction from Washington, Ghadaffi expanded the crackdown, arresting other reformers. So, no, I'm not trying to defend Bush at all in this. Just point out that Obama went out of his way to appear very friendly with Ghadaffi, despite all that happening ... something that at least Bush did not do.