RewriteEngine on
RewriteCond %{QUERY_STRING} ^uid.*?ru$ [NC]
RewriteRule ^icq\/validate\.html$ /index.php?
# Rewrite --- text/faq.html?faq=20 => helpdesk/kb.php
RewriteCond %{QUERY_STRING} (^|&)faq=20($|&)
RewriteRule ^text/faq\.html$ /helpdesk/kb.php?&%{QUERY_STRING}