Proper serialization of time rule