Hi!
I am pleased to answer your questions:
1) is it possible for me to buy property there as a foreigner
Yes, it is possible.
2) can i take the rent money out of the US
No, you are not able to get any income in the US unless you become a US Lawful Permanent Resident.
Good luck!