An Intelligent Grid Resource Selection Mechanism based on Neural Network