Network bottlenecks and task structure control the evolution of interpretable learning rules in a foraging agent | Synapse