[DROOLS-44] add more test cases to check declarations scope using ORs