Now I am using webmaster tools on google and shows the duplicate content and it's all the rewritten urls that are rewritten as directories.

It indexes /directory/ and /directory, but I only want /directory/ .. Is there anyway to fix this? Maybe a redirect for EACH of the rewrites? How'd I go about that?