This is hard to do in gii as you do not know what `required` means semantically for boolean.
Does it mean value should not be '' or does it mean you have to check the checkbox? This can not be done automatically by gii. you have to add rules as you need them.