Make rule definition dependent on confdir