made demo for various rules with Chisq distribution.