you are on AOS status, the H1-B revoke
will not affect your 485 if it is already pending >180.
If USCIS made a mistake to reject it, then you should file Motion to reopen. This is my understanding.
But you might want to double check with Pjiang or others
or your lawyer