I don't know whether the rule can be formulared that way. I don't think it's even necessary, because the change can be handled as ordinary consonant gradation. In the case of "boa" I'd think it depends on pronunciation: the "o" is long although it is spelled as short.