build part structure from rules in ccap-base