[OS-BUILD PATCHv11 6/12] Extract rules to allow orthogonal configuration