rulus.ui.core: moved getAllParents in parents function