To implement virtue in duty: "You have a duty to act the actions of a virtuous person." To implement consequentialism in duty: "You have a duty to make a best-effort estimation of the outcomes, and choose the best."
To implement duty in virtue: "A virtuous person is one who knows these rules and lives by them." To implement consequentialism in virtue: "A virtuous person is one who always evaluates the possible outcomes, and chooses the best."
To implement duty in consequentialism: "Define 'good outcome' such that any good outcome is one where all of these rules were followed." To implement virtue in consequentialism: "The only truly valuable thing is personal virtue. Therefore, a 'good outcome' is one where you gain as much virtue-trait-stuff as possible."