I can only assume that the last parameter of the link (page number) is confusing. I will decipher: the blocks you have open have the class "collapsable", this class is added based on the same parameter "id = 63", which is passed last in the link. If it is very primitive, then, for example, something like this:
<li <?php echo (GET['id'] == 63 ? 'class="collapsable"' : false);?>>Принадлежности для письма и черчения.</li>
Now there are several options for "failure". If you in mod_rewrite set the rule for redirecting all references to index.php and paring the URIs yourself, it is possible that you do not take into account that the last parameter is no longer the id with which to make a comparison. The second option - you have written separate rules, but also did not take into account the transmitted parameter with the page number.