Model Based Inference of Synaptic Plasticity Rules