refactoring structure
main classes for rewrite rules
tests on Or and And filters
using @PostConstruct and @PreDestroy