Can I have a iRule do 2 actions when it matches a uri?

Can I have a iRule do 2 actions when it matches a uri? Everything I try seems to end up in a loop.

This is the logic I was looking for:

when HTTP_REQUEST {

if { [string tolower [HTTP::uri]] starts_with “/app1” } {

HTTP::redirect “http://www.company.com/app1/app/login.aspx”) and (pool app1) really all I want to add on is /app/login.aspx

} else {

pool everythingelse

}}

Thanks in advance!