I am looking into ways of getting green card through EB-2 NIW and I am assuming having a software patent in the US might help me in getting the green card.

Anyone has a guideline on how to prepare and submit a software patent?