Saute onion and garlic in oil in skillet for 10 minutes. Puree in processor with green chiles and salt. Stir puree, beans, pineapple and almonds into rice.