Porting Blockchain.info rule from master to stable