Updated the logic to compose dijoint policies together