create a define useflag_group that creates the facts