It's not clear why it was rejected.
Ask for the rejection letter from the lawyer before you can determine if you can refile Eb2 or you are only eligible for Eb3. Could be your experience not meeting the job requirement or your company's financials didn't convince USCIS they will pay you the prevailing wage.