added ThemeKeyRule config entity and standard handling for it