layer group parsing