If you mean you wish to transform A=>B where A's rowType is not the same as B's rowType, then you won't be able to do that via a planner rule (because there are checks in place which prevent precisely that, since it would mean a mistake in the conversion under normal circumstances).
If you really know what you're doing, maybe you can achieve that via RelShuttle?