Type Rules with Environment