Add prolog to rule.