move letter casing rules from core to theme