General Power Rule Function