Ethanol is "environment friendly" when compared to gasoline, the latter having no good environmental aspects making it a bit of a low standard to beat.
The fact that rain forests are destroyed for corn plantations is probably independent of ethanol consumption, the ethanol driven investment mostly just increasing the existing rate at which deforestation happens. Corn is not only used for ethanol after all.