What types of materials can be electrically charged by rubbing? Is there a certain type of materials in which static electricity can be produced by rubbing together two different materials?
There are many materials that can be charged by triboelectric effect. Tipicaly you can observe this effect rubbing a material like wool and amber.
The phenomenon is quite complex but it's in great part because the different electron affinity of the materials (one loses easily an electron and the other captures an electron).