refactored rebelExtension references out from the rebelGenerateTask