Bondtype: Refactor boaf; remove nested function and call the helper function (which applies the first 3 'rules') when needed
Bondtype: Refactor boaf; remove nested function and call the helper function (which applies the first 3 'rules') when needed

ajkerr0/kappa,ajkerr0/kappa