Fix duplication in student rule edit view