Moved rules for building canonical url int project's config