rule correction