First, he decided not to opt out.

Then he regretted not opting out.

Now Ron Artest is heading to Houston.

NBA front-office sources confirmed to ESPN.com that Artest will be dealt to the Rockets in exchange for Houston’s first-round draft pick in 2009, ex-King Bobby Jackson (who arrives with a $6.1 million expiring contract) and the draft rights to Donte Greene. The Kings will also receive more than $1 million in cash, according to The Houston Chronicle, but the deal can’t be announced before Aug. 14 because Greene is not eligible to be traded before then.

If Artest had opted out, the Kings wouldn’t have received anything for him, so his mistake was their good fortune. Now they’ll get a nice prospect in Greene along with a 2009 first round draft pick as compensation. That’s the way to rebuild.

On the flip side, Houston seems like an odd fit for Artest. Two of their best players – Tracy McGrady and Shane Battier – are really small forwards, and now the team is adding a third. The Rockets can play McGrady at off guard, Artest at small forward and Battier at power forward. Defensively, Artest and Battier will provide a formidable 1-2 punch at forward.