No, you do not cook rice before adding it to a casserole. The casserole has enough moisture and a long enough cooking time to cook the rice completely while it bakes in the oven.