Added publish/subscribe rules