Fix previous rule pointer not being initialized