update compilation rules