Have to correct myself,
the number starts from to 0 throught o n - 1 in the allow/classID restrictions.
So the example should have been
usb.numClassRestrictions = "2"
usb.classRestrictions0.allow = "FALSE"
usb.classRestrictions0.classID = "0xE0"
usb.classRestrictions1.allow = "FALSE"
usb.classRestrictions1.classID = "0x08"