Pure connection formalism for gravity: recursion relations