In a medium saucepan, bring the 2 1/2 cups water to boiling. Add salt to the water. Slowly add rice to water; stir in onion. Return to boiling; reduce heat. Simmer, covered, for 45 minutes, or until rice is tender and grains split. Remove from heat. If needed, drain excess water.