In a rule, if you have a list of items, you could loop through the list. It is possible to create a list of features using the Query command. Then loop through the list matching the name.
let mylist(List)
let letra(String)
for pocket inside mylist
{
if pocket.Name() == letra
{...
There are several ways to avoid this B-rep problem and have reliable updates.
One is to create 4 GSD lines and project them separately. Keeping 4 distinct objects that will never get lost.
Or, in your sketch you could create 4 output features of the 4 sketch lines you created. These can be...
I think "BIW templates" is the license for Diabolo. But you can live without it. Use a Powercopy or UDF. If its something you need regularly or fast, Powercopy it! The surface has an orientation. Use that to dictate the material side. This is a really easy solution. Don't even bother with a VB...