Use until datetime on rule based on datetime item

You have to use JavaTime instead of DateTimeType (yes, it’s a bit confusing) - see

as an excelent reference.