refactor rule/ct boost