Rule-based modeling is an approach that permits constructing reaction networks based on the specification of rules for molecular interactions and transformations. These rules can encompass details such as the interacting sub-molecular domains (components) and the states such as phosphorylation and binding status of the involved components. Fine-grained spatial information such as the locations of the molecular components relative to a membrane (e.g. whether a modeled molecular domain is embedded into the inner leaflet of the cellular plasma membrane) can also be provided. Through wildcards representing component states entire families of molecule complexes sharing certain properties can be specified as patterns. This can significantly simplify the definition of models involving species with multiple components, multiple states and multiple compartments. The SBML Level 3 Multi Package (Multistate, Multicomponent and Multicompartment Species Package for SBML Level 3) extends the SBML Level 3 core with the “type” concept in the Species and Compartment classes and therefore reaction rules may contain species that can be patterns and be in multiple locations in reaction rules. Multiple software tools such as Simmune and BioNetGen support the SBML Level 3 Multi package that thus also becomes a medium for exchanging rule-based models.