getDrawRule