Rename build_globals to build_rules