I found the problem.
In the nav bar I was using the following code for the Rules page link...
PHP Code:
<td class="vbmenu_control"><a href="rules.php$session[sessionurl_q]" accesskey="5">$vbphrase[vbrules_rules]</a></td>
I changed it to the following code and it now works.
PHP Code:
<td class="vbmenu_control"><a href="http://domainname.com/rules.php" accesskey="5">$vbphrase[vbrules_rules]</a></td>
It seems to be working normal now.
Im still not sure why the rules.php gets placed into the gallery by the links directory though, but hey its working now...
Doug