what is the rules for a dependent
Special Rule. Tiebreaker rules apply if it is determined that the child can be a qualifying dependent for more than one person. In that case, you must be entitled to claim the child according to IRS standards, which can be found on the IRS website.