Move retract and assert

Move retract and assert for some direction pointer and codel chooser rules.