A Self-Routing Protocol for Distributed Consensus on Logical Information