added messages schema rules
added origin schema rules
added activities schema rules