The discovery of an explosives-laden caravan revealed to be a hoax has prompted hasty new laws that protect only some Australians, Muslim groups say.