iRule: Transparent URL/URI Rewrite

Looking for an iRule example on how to achieve a URL/URI re-write that will act as a proxy_pass, for example:

http://admin.hello.com/online --> (Transparent Redirect)

--> http://admin1.hello.com/_online

While the user URI will be consistent and build upon /online/*.

Any examples please?

See if you can leverage Rewrite profile for this function.