convert AntlrCompileModuleTask to a Rule to dynamically generate tasks to pipeline the entire process