Add learning rules - first attempt