Quad bikes sold in Australia will have mandatory roll bars within two years under new federal rules.