Invia SMS: Temporal Rules over Time Structures with Different Granularities - a Stochastic Approach