Add boolfunc top matter