window extern rule