Returns true if the rule matches the given tags and indoor level
bool matches(TagCollection tags, int indoorLevel);