Adding conditions to the currently running irule

Hello Team, we want to add two more lines in currently running I rule. please help me to do that and let me know how and where we are going to add that

Currently running I rule:

when HTTP_REQUEST { switch -glob [string tolower [HTTP::uri]] { “/internal/connexion/service/v1" { HTTP::uri “/fft/proxy/connexion” pool flex-monolith } "/internal/manager/service/v1” { HTTP::uri “/fft/proxy/manager” pool flex-monolith } “/medq_esb/proxy_services/mmodal_voice_proxy_service*” { HTTP::uri “/fft/proxy/voice” pool flex-monolith } “/fft/proxy/voice" { pool flex-monolith } "/fft/rest” { pool flex-monolith } default { pool fft-osb } } }

adding contents are:

“/medq_esb/proxy_services/internal/medq_rule_engine_internal_proxy_service" { HTTP::uri “/rule-engine/services” pool } "/rule-engine/services” { pool }

You can just add them to the switch before

default

. Don’t forget to specify the right pool names though.

when HTTP_REQUEST { 
    switch -glob [string tolower [HTTP::uri]] { 
        "/internal/connexion/service/v1" { 
            HTTP::uri "/fft/proxy/connexion" 
            pool flex-monolith 
        } 
        "/internal/manager/service/v1" { 
            HTTP::uri "/fft/proxy/manager" 
            pool flex-monolith 
        } 
        "/medq_esb/proxy_services/mmodal_voice_proxy_service*" { 
            HTTP::uri "/fft/proxy/voice" 
            pool flex-monolith 
        } 
        "/fft/proxy/voice" { 
            pool flex-monolith 
        } 
        "/fft/rest" { 
            pool flex-monolith 
        } 
        "/medq_esb/proxy_services/internal/medq_rule_engine_internal_proxy_service" { 
            HTTP::uri "/rule-engine/services" 
            pool POOL_NAME
        } 
        "/rule-engine/services" { 
            pool POOL_NAME
        }
        default { 
            pool fft-osb 
        } 
    } 
}