The <?php query_posts(); ?>
in your code is causing the global query to be reset to show all posts instead of the one set by your rewrite rules. You should remove that line.
The <?php query_posts(); ?>
in your code is causing the global query to be reset to show all posts instead of the one set by your rewrite rules. You should remove that line.