added rules to gi