Explaining black box models by means of local rules