What are the rules of marrying someone in the United States if the other person does not have citizenship yet?

You can get married, however there are immigration laws that govern the immigrants re-entry to the US if immigrant leaves until US Residency is established. A re-entry permit MUST be obtained BEFORE immigrant leaves the US prior to obtaining US Residency.