Added rulebased ai example for testing.