Police found bomb-making materials and a semiautomatic rifle