Double Rainbow Energy should be applied *before* applying Weakness and Resistance. This brings it in line with the Japanese version of the card.
Source: PUI Announcement (2004-10-01)