Got errors on my rule

Your Item is not the same type that it was in OH1.
You have a Number:Temperature type now.