Problems by comparing DateTimeType's in a rule

I suggest you peruse this article for type conversions.
There are examples of time comparisons in it: