add pk rule