Brian Cox, Anna Paquin, Dylan Baker and Leslie Bibb are set to star in the horror film Trick 'r Treat, which Bryan Singer is producing for Legendary Pictures and Warner Bros. through his Bad Hat Harry Prods, according to Variety.

Michael Dougherty, who co-wrote Singer's Superman Returns and X2: X-Men United, wrote the screenplay for Trick 'r Treat and will make his directorial debut. Filming begins Thursday in Vancouver.

RELATED: New Trick 'R Treat Comic Collection Brings Sam's Halloween Stories Back for the 10th Anniversary

Singer, intrigued by Dougherty's script, signed onto the project and will be on the set throughout production. The story is set on Halloween night in a town where those who break the rules of the holiday do so at their own peril.

The project reunites Singer with two of his X-Men stars, Cox and Paquin.