.htaccess rewrite folder exception
So I have the following rewrite rules:

    RewriteRule ([^/]*)/([^/]*)/([^/]*)$ /index.php?grandparent=$1&parent=$2&page=$3
    RewriteRule ([^/]*)/([^/]*)$ /index.php?&parent=$1&page=$2
    RewriteRule ([^/]*)$ /index.php?page=$1    

But I need this to not pass to the index page for some subdomains, so I have the following rewrite conditions before this:

    RewriteCond %{REQUEST_URI} !^/css/.*$
    RewriteCond %{REQUEST_URI} !^/js/.*$
    RewriteCond %{REQUEST_URI} !^/admin/.*$

so that the rules will not apply when looking for any file in those directories (including files that may be in subdirectories of those directories). yet they still keep getting rewritten to `index.php`. How can I make exceptions for these directories?
.htaccess rewrite folder exception
===

So I have the following rewrite rules:

    RewriteRule ([^/]*)/([^/]*)/([^/]*)$ /index.php?grandparent=$1&parent=$2&page=$3
    RewriteRule ([^/]*)/([^/]*)$ /index.php?&parent=$1&page=$2
    RewriteRule ([^/]*)$ /index.php?page=$1    

But I need this to not pass to the index page for some subdomains, so I have the following rewrite conditions before this:

    RewriteCond %{REQUEST_URI} !^/css/.*$
    RewriteCond %{REQUEST_URI} !^/js/.*$
    RewriteCond %{REQUEST_URI} !^/admin/.*$

so that the rules will not apply when looking for any file in those directories (including files that may be in subdirectories of those directories). yet they still keep getting rewritten to `index.php`. How can I make exceptions for these directories?