ControllingNeuralNetworkswithRule Representations