fixed change in order of rules introduced by #156