added ant example, more design work and fixed a bug with or-operator
added ant example, more design work and fixed a bug with or-operator