Question: what are the rules for a green card?
Answer: Live permanently in the United States provided you do not commit any actions that would make you removable under immigration law.
Work in the United States at any legal work of your qualification and choosing.