static Regle generateRandomRule() {

		Direction direction = Direction.values()[generateur.nextInt(4)];

		StringBuffer obs = new StringBuffer();

		for (int i = 0; i < 8; i++) {
			double rand = Generateur.getInstance().nextDouble()%1;
			if (rand > 0.20)
				// 80% joker
				obs.append('?'); // ContenuCase.ANY
			else if (rand > 0.15)
				// 5% mur
				obs.append('#'); // ContenuCase.MUR
			else if (rand > 0.05)
				// 10% bonus
				obs.append('.'); // ContenuCase.POINT
			else
				// 5% blanc
				obs.append(' '); // ContenuCase.VIDE
		}
		Observation observation = new Observation(obs.toString());

		return new Regle(observation, direction);
	}