Create rules.c