Oil prices rise on lower US rig count, but glut weighs