[proofs] Method to convert node representation of Alethe rule (#7598)