public void setRule(String rulnam, boolean rulact, int rulval){
						int rulnumb = getRuleNumber(rulnam);
						//if(rulnumb == -1){}else{rules[rulnumb] = rulact;}
						if(rulval == -1){}else{rulevalues[rulnumb] = rulval;}
						if(rulnumb == 0 && rulact){rules[1] = false;}
						if(rulnumb == 1 && rulact){rules[0] = false;}
						switch(rulnumb){
							// Error case
							case -1: break;
							//Boredom(1)
							case 0: rules[0] = rulact; rulestates[0] = 0; break;
							// Boredom(2)
							case 1: rules[1] = rulact; rulestates[0] = 0; rulestates[1] = 0; break;
							//Compass Chaos
							case 2: rules[2] = rulact; rulestates[2] = 0; break;
					}
				}