In the card text of rainbow energy it clearly states that do ten damage to
the pokemon you attach this to if you play this card from your hand. But if
you use mewtwo's energy absorption you can attach it from your discard pile
and not do any damage because it was played from your discard pile and not
your hand.
shenlong - diamond_dawg87@hotmail.com