After some digging through the BIRD 2.0 manual, I may have found my own
answer, but first time working with BIRD 2.0 so not sure if this is
valid....
Maybe something like:
if (net.type = NET_IP4) && (net.len = 32) then {
...
} else if (net.type = NET_IP6) && (net.len > 63) then {
...
}