Rigidity and substitutive tree words