RewriteRule ^tags/(.+)/?$ /ContentPage/Search.aspx?CatName=&Tags=$1&searchtype=NormalSearch [NC,L,QSA]
RewriteRule ^(.+)/(.+)/(.+)/(.+)/tags/(.+)/?$ /ContentPage/Search.aspx?CatName=$1|$2|$3|$4&Tags=$5&searchedCategories=&refineCategories=&searchtype=NormalSearch [NC,L,QSA]
RewriteRule ^(.+)/(.+)/(.+)/tags/(.+)/?$ /ContentPage/Search.aspx?CatName=$1|$2|$3&Tags=$4&searchedCategories=&refineCategories=&searchtype=NormalSearch [NC,L,QSA]
RewriteRule ^(.+)/(.+)/tags/(.+)/?$ /ContentPage/Search.aspx?CatName=$1|$2&Tags=$3&searchedCategories=&refineCategories=&searchtype=NormalSearch [NC,L,QSA]
RewriteRule ^(.+)/tags/(.+)/?$ /ContentPage/Search.aspx?CatName=$1&Tags=$2&searchedCategories=&refineCategories=&searchtype=NormalSearch [NC,L,QSA]
2nd issue:
Existing rules: The rule is repeated based on the number of parameters. Need to make it generic.
RewriteCond %{QUERY_STRING} &?pgtype=p&? [NC]
RewriteRule ^(.+)/(.+)/(.+)/(.+)/(.+)/s/([a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12})/(a|e)/([a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12})$ /ContentPage/AssetDetail.aspx?CatName=$1|$2|$3|$4&GUID=$6&aGUID=$8 [NC,L,QSA]
RewriteCond %{QUERY_STRING} &?pgtype=p&? [NC]
RewriteRule ^(.+)/(.+)/(.+)/(.+)/s/([a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12})/(a|e)/([a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12})$ /ContentPage/AssetDetail.aspx?CatName=$1|$2|$3&GUID=$5&aGUID=$7 [NC,L,QSA]
RewriteCond %{QUERY_STRING} &?pgtype=p&? [NC]
RewriteRule ^(.+)/(.+)/(.+)/s/([a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12})/(a|e)/([a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12})$ /ContentPage/AssetDetail.aspx?CatName=$1|$2&GUID=$4&aGUID=$6 [NC,L,QSA]
RewriteCond %{QUERY_STRING} &?pgtype=p&? [NC]
RewriteRule ^(.+)/(.+)/s/([a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12})/(a|e)/([a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12})$ /ContentPage/AssetDetail.aspx?CatName=$1&GUID=$3&aGUID=$5 [NC,L,QSA]
RewriteCond %{QUERY_STRING} &?pgtype=p&? [NC]
RewriteRule ^(.+)/s/([a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12})/(a|e)/([a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12})$ /ContentPage/AssetDetail.aspx?CatName=HOME&GUID=$2&aGUID=$4 [NC,L,QSA]
RewriteCond %{QUERY_STRING} &?pgtype=p&? [NC]
RewriteRule ^s/([a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12})/(a|e)/([a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12})$ /ContentPage/AssetDetail.aspx?CatName=HOME&GUID=$1&aGUID=$3 [NC,L,QSA]