Bayesian inference for synaptic connectivity rules in anatomically realistic cortical connectomes