added rules for building scenario layer sequence