Active Learning Template Restraints