Refactor exim::rt to use the new exim template.

Change-Id: I6dd5b30257643528da3e8bf671e8736bd87e495f