install rule for demos.