Replace rules as tuples by rules as records