rule and window externs