This is the shit!!
From SharePoint Team Blog
http://blogs.msdn.com/sharepoint/archive/2010/02/15/enabling-a-button-on-the-ribbon-based-on-selection.aspx
Chris O’brien
http://www.sharepointnutsandbolts.com/2010/01/adding-ribbon-items-into-existing.html