correct variables names for rules