Before neural networks: rules and statistics