Bayesian network learning of gene regulatory rules