Add references to rules