All rule of equals method.