add rules for predef repository