A General Assembly as implementation of a Hebbian rule in a Boolean Neural Network