Fix rule category.