g1smd - 12:20 pm on Feb 22, 2010 (gmt 0) [edited by: g1smd at 12:30 pm (utc) on Feb 22, 2010]
Firstly, you MUST fix the rule order.
The redirects must be listed first, with the general non-www to www redirect as the last redirect.
Inspect them to be sure that for any request only one rule can match. If one rule matches and does a redirect, then another rule matches and does another redirect you are in trouble.
After the redirects, list the rewrites. Never list the rewrites before the redirects.
[edited by: g1smd at 12:30 pm (utc) on Feb 22, 2010]