Removed core dependency on rt module.

Modules in core should not export modules outside of core, as these are implementation files that should not land in the import directory.