terminal rules