Learning explicit rules in a neural network | Synapse