added java7 support and boolean filter in rnquery