code: public void addRule(Rule r) {
  		rules.add(r);
  		FuzzyActivity head = (FuzzyActivity) solver.createVariable(r
  				.getComponent().getName());
  		head.setMarking(markings.UNJUSTIFIED);
  		head.setDomain(r.getComponent().getStates(), r.getPossibilities());
  		ruleHeads.put(head, r);
  		// fan.addVariable(head);
  		fas.add(head);
  		groundActivity.add(head);
  		heads.add(head);
  	}
docs: Add a {@link Rule} to this {@link MetaConstraint}.
  @param r The rule to add.