Did you rinse it first? I run my rice under cold water first until it runs clear. I always add water (or stock) in a 2:1 ratio -- 1 cup of rice to 2 cups liquid, for example. Bring to the boil, the stir once, cover, and reduce to the very lowest heat. I usually cook basmati for 12-15 minutes and 35 minutes for brown and wild rice.
EDIT: sorry, meant 35 minutes rather than 25 for brown rice!