Added rules for 'Terminology' binary
REFACTOR: Tidied up per window rules code