Invia SMS: The development of granular rule-based systems