How's this?
Leaf Swarm (Ex): A singing tree may release all its leaves at once. In this case, the leaves are treated as a swarm, using the statistics below. Damage dealt to the swarm has no effect on the singing tree, nor do effects that target the swarm, and vice versa. While attached to the singing tree, the swarm is not considered a separate creature and cannot be targeted separately from the singing tree.
Leaf Swarm
Diminutive Plant (Swarm)
Hit Dice: 6d8 (27 hp)
Initiative: +4
Speed: Fly 30 ft. (poor)
Armor Class: 18 (+4 size, +4 Dex), touch 18, flat-footed 14
Base Attack/Grapple: +4/—
Attack: Swarm (1d6 plus blood drain)
Full Attack: Swarm (1d6 plus blood drain)
Space/Reach: 10 ft./0 ft.
Special Attacks: Blood drain, distraction (DC 13)
Special Qualities: Immune to weapon damage, low-light vision, part of a greater whole, plant traits, swarm traits
Saves: Fort +8, Ref +8, Will +4
Abilities: Str 1, Dex 19, Con 10, Int —, Wis 11, Cha 1
Skills: —
Feats: Hover (B)
Blood Drain (Ex): Any living creature damaged by a leaf swarm also takes 1d4 points of Constitution damage as the swarm drains its blood. This damage repeats every round thereafter unless the creature successfully exits the swarm and spends a full-round action removing leaves from its body.
Part of a Greater Whole (Ex): Since the leaf swarm is an extension of the singing tree itself, the swarm uses the base attack bonus and base saving throw bonuses of the singing tree.