Fixed adding exceptions to rules