Neural Network On Sets Rules