I am planning on creating a few examples in the near future to show it off, but for this post I just want to give a sneak peek at a couple of lines of Java code that uses it. This comes from a test that categorizes an animal based on observable qualities. This is the definition of one constraint rule that allows the system to know that no mammals have scales or feathers.
constraint = when(skin).is(scaley).or(skin).is(feathery).then(animalType).isNot(mammal);
Here is another that tells the system that only bats have both fur and wings:
constraint = when(skin).is(furry).and(phalanx).is(wings).then(animal).is(bat);