Create rule that compares temperatures?

Example Rules API rule: