Types of Learning Rules in ANN