new rules api