GLUED: renamed PKG_VAR to pkg_var.
GLUED: replaced PKG_COMMON with pkg_common.
GLUED: replaced PKG with pkg.
GLUED: renamed packages to rules, cfg_dir_packages to cfg_dir_rules.