change apppath index for valgrand rule