Answered
How to obtain its upper level from "A style"?
If I only knew:
myStyleA= app.documents[0].objectStyleGroups.itemByName(groupName).objectStyles.itemByName("A");
Is it possible to directly obtain the same level 'B' path from myStyleA
Like this:
myStyleB=myStyleA.parent.itemByname("B");
Instead of rewriting it completely:
myStyleB=app.documents[0].objectStyleGroups.itemByName(groupName).objectStyles.itemByName("B");

