regulate the manner in which, or the purposes for which, custom may be recognized, applied or enforced; and