added unique constraint to skip rules