Mod/Resc Parsimony Inference: Theory and application