fixes to location rules

Signed-off-by: Elliot Condon <e@elliotcondon.com>